/* 内容区域样式 */
.content-wrapper {
    padding: 20px;
    background-color: #f4f6f9;
    min-height: calc(100vh - 60px);
}

.content-header {
    margin-bottom: 20px;
}

/* 搜索栏样式 */
.search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.search-bar input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    max-width: 300px;
}

.search-bar button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-btn {
    background-color: #1890ff;
    color: white;
}

.refresh-btn {
    background-color: #52c41a;
    color: white;
}

.search-bar button:hover {
    opacity: 0.9;
}

.search-bar button i {
    font-size: 14px;
}

/* 表格样式 */
.content-body {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.log-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

th {
    background-color: #fafafa;
    font-weight: 500;
    color: #333;
}

tbody tr:hover {
    background-color: #f5f5f5;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.page-btn:hover:not(:disabled) {
    color: #1890ff;
    border-color: #1890ff;
}

.page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.page-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.text-center {
    text-align: center;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar input {
        max-width: 100%;
    }
    
    .content-wrapper {
        padding: 10px;
    }
    
    .content-body {
        padding: 10px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }

    .pagination {
        flex-direction: column;
        gap: 10px;
    }

    .page-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
} 